'use strict'
const fs = require('fs')
class images {
    constructor () {

    }
    async get (c) {
        let filePath = `/home/imgs/${c.param.id}`;

        c.setHeader('cache-control', 'max-age=1800')
        
        await c.helper.pipe(`${filePath}`,c.reply)
    }
}
module.exports = images;